@charset "utf-8";
// Base styles: opinionated defaults
// author: XXX
@font-family: \5FAE\8F6F\96C5\9ED1;
@size: 15px;
@duration: 10s;
@ease: ease-in-out;
html {
	font-size: 1em;
	color: #222;
	line-height: 1.4;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}
body {
	font-family: @font-family, serif;
	font-size: 16px;
	color: #000;
	line-height: 1.5;
	-webkit-overflow-scrolling: touch;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}
@media all and (max-width: 767px) {
	body {
		font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
		font-size: 12px;
		line-height: 1.5;
	}
}
@media (-webkit-max-device-pixel-ratio: 1) {
	::-webkit-scrollbar-track-piece {
		background-color: #fff
	}
	::-webkit-scrollbar {
		width: 6px;
		height: 6px
	}
	::-webkit-scrollbar-thumb {
		background-color: #c2c2c2;
		background-clip: padding-box;
		min-height: 28px
	}
	::-webkit-scrollbar-thumb:hover {
		background-color: #a0a0a0
	}
}
// Remove text-shadow in selection highlight:
::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}
::selection {
	background: #b3d4fc;
	text-shadow: none;
}
// A better looking default horizontal rule
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}
// Remove the gap between audio, canvas, iframes,
audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: top;
	max-width: 100%;
}
// Remove default fieldset styles.
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
// Allow only vertical resizing of textareas.
textarea {
	resize: vertical;
}
ul, li {
	list-style: none;
	padding: 0;
}
a {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
* {
	box-sizing: border-box;
}
// flex
.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	display: -webkit-flex; //兼容iphone6s
	&:after {
		width: 100%;
		height: 0;
		visibility: hidden;
		content: ".";
		display: block;
		clear: both;
	}
	[class*='col-'] {
		float: left;
		flex-grow: 0;
		flex-shrink: 1;
		flex-basis: auto;
	}
	[align-items="center"] {
		align-items: center;
	}
	[align-self="center"] {
		align-self: center;
	}
}
// columns
.generate-columns(12);
.generate-columns(@n, @i: 1) when (@i =< @n) {
	.col-sm-@{i} {
		width: (@i * 100% / @n);
	}
	.generate-columns(@n, (@i + 1));
}
@media all and (max-width: 767px) {
	.generate-columns(12);
	.generate-columns(@n, @i: 1) when (@i =< @n) {
		.col-xs-@{i} {
			width: (@i * 100% / @n);
		}
		.generate-columns(@n, (@i + 1));
	}
}
// Author's custom styles
// Helper classes
// Hide visually and from screen readers
.hidden {
	display: none !important;
}
.hide {
	visibility: hidden;
}
// Clearfix: contain floats
.clearfix:before,
.clearfix:after {
	content: " "; // 1
	display: table; // 2
}
.clearfix:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
.inner {
	margin: 0 auto;
	padding: 0 12.5px;
	max-width: 1225px;
}
.inline {
	display: inline-block;
	vertical-align: top;
}
// Out of line display ...
.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	word-wrap: normal;
}
// Over two lines of display ...
.ellipsis-2 {
	overflow: hidden;
	white-space: normal;
	text-overflow: ellipsis;
	word-wrap: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.table {
	display: table;
	width: 100%;
	table-layout: fixed;
}
.table-cell {
	position: relative;
	display: table-cell;
}
// small adjustment
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-justify {
	text-align: justify;
}
.text-right {
	text-align: right;
}
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}
